cpufreq: domain structure update from array to linked list
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 29 Oct 2008 10:14:13 +0000 (10:14 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 29 Oct 2008 10:14:13 +0000 (10:14 +0000)
commit9e9a85e47bf684060eba3d1cc4e84bf5d636ad71
tree3b702529da07d41590a01fc2ee8dcdc41a1e0fa1
parent889f104e6a27716d8e7fcfa72cc516a6b207ce87
cpufreq: domain structure update from array to linked list

Current cpufreq domain is an array cpufreq_dom_map[NR_CPUS].
However, domain number may be sparse or bigger than NR_CPUS.

Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
xen/drivers/cpufreq/cpufreq.c